﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BreakFastExe
{
    public class Waiter
    {
        private IBreakfast changFen, hunTun, heFen;
        public void SetChangfen(IBreakfast f)
        {
            changFen = f;
        }
        public void SetHuntun(IBreakfast f)
        {
            hunTun = f;
        }
        public void SetHefen(IBreakfast f)
        {
            heFen = f;
        }
        public void ChooseChangfen()
        {
            changFen.Cooking();
        }
        public void ChooseHefen()
        {
            heFen.Cooking();
        }
        public void ChooseHuntun()
        {
            hunTun.Cooking();
        }

    }
}
